home *** CD-ROM | disk | FTP | other *** search
/ boe.pres.k12.wv.us / boe.pres.k12.wv.us.zip / boe.pres.k12.wv.us / Utilities / Finishlynx / Disk 2 / _SETUP.2 / Group4 / microtab16-9.lss < prev    next >
Text File  |  2002-03-12  |  10KB  |  237 lines

  1. ; Defaults: 1200,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script
  4. ;
  5. ; Copyright (c) 1995-1997 Lynx System Developers, Inc.
  6. ;
  7. ; Written by Kirk Sigel
  8. ;
  9. ; script for microtab16, 1 line, 9 characters
  10. ; last modified by Todd Chamoy 12 Feb 02
  11. ; pages results instead of scrolling
  12. ;
  13. ; Notes:
  14. ;  + Empty lines and lines that start with a semicolon are ignored.
  15. ;  + Lines that start with two semicolons indicate a section header.
  16. ;    They must be one of the following:
  17. ;      ;;Initialization
  18. ;      ;;TimeRunning
  19. ;      ;;TimeStopped
  20. ;      ;;TimeGun
  21. ;      ;;TimeBreak
  22. ;      ;;TimeUpdate
  23. ;      ;;Wind
  24. ;      ;;TimeOfDay
  25. ;      ;;ResultsHeader
  26. ;      ;;ResultsTrailer
  27. ;      ;;Result
  28. ;      ;;MessageHeader
  29. ;      ;;MessageTrailer
  30. ;      ;;Message
  31. ;    Sections may be omitted, appear in any order, and occur more than once.
  32. ;  + Format lines must begin with a value indicating which variable
  33. ;    they want to access. The special code \00 indicates that no variable
  34. ;    is being requested. If a variable is requested it will be inserted where
  35. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  36. ;    specifier in lines requesting a variable and no other printf format
  37. ;    specifiers may appear. Remember, lines requesting a variable are used as
  38. ;    a printf format string and therefore must behave as such. Lines not 
  39. ;    requesting variables (code \00) can do whatever they want as these 
  40. ;    lines are not fed to a printf statement.
  41. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  42. ;    digit. Note that h must be lowercase.
  43. ;  + Format lines can have the following commands embedded in them.
  44. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  45. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  46. ;     \Ui\hh  Set the 'U' value to register[hh].
  47. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  48. ;     \Xi\hh  Set the 'X' value to register[hh].
  49. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  50. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  51. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  52. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  53. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  54. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  55. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  56. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  57. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  58. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  59. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  60. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  61. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  62. ;             next {X|<eol>} characters.
  63. ;              \U\00  IDS checksum.
  64. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  65. ;              \U\02  ADD checksum. register[hh] is used as the seed value.
  66. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  67. ;              \U\00  Binary little-endian (Intel byte order).
  68. ;              \U\01  Binary big-endian (Motorola byte order).
  69. ;              \U\02  ASCII text right justified space padded.
  70. ;              \U\03  ASCII text right justified zero padded.
  71. ;              \U\04  ASCII text left justified space padded.
  72. ;              \U\05  ASCII text left justified zero padded.
  73. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  74. ;              \U\00  ASCII text base 10.
  75. ;              \U\01  Binary little-endian (Intel byte order).
  76. ;              \U\02  Binary big-endian (Motorola byte order).
  77. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  78. ;              \P\00  Reverse characters.
  79. ;              \P\01  Convert characters to Colorado Time format. Register[1]
  80. ;                       is the current character position on entry and the
  81. ;                       next character position on exit.
  82. ;              \P\02  Convert characters to Daktronics AllSport format.
  83. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  84. ;             before the cursor or until the string contains X characters.
  85. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  86. ;             at the cursor or until the string contains X characters.
  87. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  88. ;             contains X characters.
  89. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  90. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  91. ;             beginning of the line if zero).
  92. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  93. ;             end of the line if zero).
  94. ;    Note that numbers 0 thru 9 can be entered directly for single character
  95. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  96. ;    '\=\01' is the same as '\=1'.
  97. ;  + Be very careful about whitespace in each format line. Characters other
  98. ;    than '%s' specifiers and embedded commands and values will be sent
  99. ;    exactly as they appear on the line. This means, for instance, that using
  100. ;    tabs to make a line 'look right' in you favorite editor will cause
  101. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  102. ;    spaces (probably not what you wanted).
  103. ;
  104. ; The format lines follow.
  105.  
  106. ;;Initialization
  107. ; This is sent once to initialize the scoreboard.
  108. ; Line codes:
  109. ;  \00 No variable
  110. ;
  111. ; Stops scrolling message and sends 9 spaces to board.
  112. \00\X0\=2\1bAS00         \03\L0\U2\F2\R0\X\7f\&2\U0\O2
  113.  
  114. ;;TimeRunning
  115. ; This is sent approximately 10 times per second.
  116. ; Line codes:
  117. ;  \00  No variable
  118. ;  \01  Formatted time
  119. ;  \02  Binary time in milliseconds (as a 4 byte little endian integer)
  120. ; Setting register[0] to 1 in a format line will cause that line and
  121. ; subsequent lines to only be sent once per second (when the second's 
  122. ; digit changes) instead of approximately 10 times per second. Setting
  123. ; register[0] to 0 will resume normal operation for remaining lines.
  124. ;
  125. ; display " mm:ss.d "
  126. \01\=0\X0\=2\1bAS00 %12.12s\B2\L7\B3\R0 \03\L0\U2\F2\R0\X\7f\&2\U0\O2
  127.  
  128. ;;TimeStopped
  129. ; This is sent when the time is stopped by a beam break.
  130. ; Line codes are identical to the TimeRunning line codes.
  131. ;
  132. ; display " mm:ss.dd"
  133. \01\X0\=2\1bAS00 %12.12s\B1\L8\B3\R0\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  134.  
  135. ;;TimeGun
  136. ; This is sent when a gun signal is received.
  137. ; Line codes are identical to the TimeRunning line codes.
  138.  
  139. ;;TimeBreak
  140. ; This is sent when a beam break is recieved.
  141. ; Line codes are identical to the TimeRunning line codes.
  142.  
  143. ;;TimeUpdate
  144. ; This is sent approximately 10 times per second.
  145. ; Line codes are identical to the TimeRunning line codes.
  146.  
  147. ;;Wind
  148. ; This is sent in the time stream when a wind reading is received.
  149. ; Line codes:
  150. ;  \00  No variable
  151. ;  \01  Formatted wind (same format as ResultsHeader wind)
  152. ;  \02  Binary wind in hundredths of units (as a 4 byte little endian integer)
  153.  
  154. ;;TimeOfDay
  155. ; This is sent when the 'Send time of day' option is checked in the
  156. ; Scoreboard pull down menu.
  157. ; Line codes are identical to the TimeRunning line codes.
  158. ;
  159. ; display " hh:mm:ss"
  160. \01\=0\X0\=2\1bAS00 %12.12s\B4\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  161.  
  162. ;;ResultsHeader
  163. ; This is sent once each time the scoreboard is updated with results. It
  164. ; is sent before any result lines are sent.
  165. ; Line codes:
  166. ;  \00  No variable
  167. ;  \01  OFFICIAL/UNOFFICIAL string
  168. ;  \02  Event name
  169. ;  \03  Wind
  170. ;  \04  Event number
  171. ;  \05  Round number
  172. ;  \06  Heat number
  173. ;  \07  AUTO/MANUAL start type
  174. ;  \08  Number of participants
  175. ;
  176. \00\X0\=2\1bAS00\L0\U2\F2\R0
  177.  
  178. ;;ResultsTrailer
  179. ; This is sent once each time the scoreboard is updated with results. It
  180. ; is sent after all result lines are sent.
  181. ; Line codes are identical to the ResultsHeader line codes.
  182. ;
  183. ; trailer for results scrolling string
  184. \00\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  185.  
  186. ;;Result
  187. ; This is sent once for each result line displayed on the scoreboard.
  188. ; Line codes:
  189. ;  \00  No variable
  190. ;  \01  Place
  191. ;  \02  Lane
  192. ;  \03  Id
  193. ;  \04  Name
  194. ;  \05  Affiliation
  195. ;  \06  Time
  196. ;  \07  Delta Time
  197. ;  \08  Cumulative Split Time
  198. ;  \09  Last Split Time
  199. ;  \0a  Laps To Go
  200. ;  \0b  License
  201. ;  \0c  ReacTime
  202. ;  \0d  Speed
  203. ;  \0e  Pace
  204. ; Register[0] is initialized with the index of the current result line and
  205. ; will range from 0 through PageSize - 1.
  206. ;
  207. ; "place lane time"
  208. \01PL%2.2s \L0\U2\F2\R0
  209. \02LN%2.2s\03\L0\U2\F2\R0\X\7f\&2\U0\O2\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
  210. \00\X0\=2\1bAS00\L0\U2\F2\R0
  211. \06%12.12s\B1\L8\B3 \R0\L0\U2\F2\R0
  212.  
  213. ;;MessageHeader
  214. ; This is sent once each time the scoreboard is updated with the message. It
  215. ; is sent before any message lines are sent.
  216. ; Line codes:
  217. ;  \00  No variable
  218. ;
  219. \00\X0\=2\1bAS00\L0\U2\F2\R0
  220.  
  221. ;;MessageTrailer
  222. ; This is sent once each time the scoreboard is updated with the message. It
  223. ; is sent after all message lines are sent.
  224. ; Line codes are identical to the MessageHeader line codes.
  225. ;
  226. \00\03\L0\U2\F2\R0\X\7f\&2\U0\O2
  227.  
  228. ;;Message
  229. ; This is sent once for each message line displayed on the scoreboard.
  230. ; Line codes:
  231. ;  \00  No variable
  232. ;  \01  Text
  233. ; Register[0] is initialized with the index of the current message line and
  234. ; will range from 0 through <number of lines> - 1.
  235. \01%9.9s\L0\U2\F2\R0
  236.  
  237.